package com.chenjun.core.service.oa;

import java.util.List;

import com.chenjun.common.bean.Pagination;
import com.chenjun.common.model.DataGridModel;
import com.chenjun.core.dao.generator.entity.OaBillAttnMonthReport;

/**
 * 
 * @Description: 月报表service
 * @author dyb
 * @date 2017-8-16 下午7:15:44
 */
public interface OaBillAttnMonthReportService {
	
	public OaBillAttnMonthReport get(int id);

	public int create(OaBillAttnMonthReport oaBillAttnMonthReport);

	public int delete(int id);

	public int update(OaBillAttnMonthReport oaBillAttnMonthReport);

	public int createOrUpdate(OaBillAttnMonthReport oaBillAttnMonthReport);

	public List<OaBillAttnMonthReport> doListByCondition(DataGridModel param);

	public Pagination getMonthReport(DataGridModel model) throws Exception;
	
	/**
	 * 获取出勤统计
	 * @Description: 
	 * @param dataGridModel
	 * @return
	 * @author dongyibin
	 * @date 2017-10-18 下午9:21:22
	 */
	public Pagination getAttnDetailStatistics(DataGridModel dataGridModel);

	/**
	 * @Description: 获取年报
	 * @param model
	 * @return
	 * @author dongyibin
	 * @date 2017-10-30 下午10:14:47
	 */
	public Pagination getYearReport(DataGridModel model);
}
